<template>
  <div class="availability-settings">
    <el-tabs v-model="activeSubTab" type="border-card">
      <el-tab-pane label="线下预约设置" name="offline">
        <OfflineAvailability />
      </el-tab-pane>
      <el-tab-pane label="线上预约设置" name="online">
        <OnlineAvailability />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import OfflineAvailability from '@/components/system/availability/OfflineAvailability.vue'
import OnlineAvailability from '@/components/system/availability/OnlineAvailability.vue'

const activeSubTab = ref('offline')
</script>

<style scoped>
.availability-settings {
  margin-top: 10px;
}
</style>
